package com.harlaus.commons.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "cors")
@Component
@Data
public class CorsProperty {
    private String map;
    private String origins;
    private String[] methods;
    private Long age;
}
